package cn.edu.scau.cmi.pengjiajian.adapter;

public class AdapterOfClass extends Adaptee implements Target{
	
	public int changeVoltage(int sourceVoltage, int targetVoltage) {
		if(sourceVoltage == 220)
			return targetVoltage;
		else
			return 0; 
	}
}
